source 'https://github.com/CocoaPods/Specs.git'

use_frameworks!

def pfpodsios
	pod 'SideMenu', :git => 'https://github.com/Fabiz/SideMenu.git'
	pod 'GoogleMaps', '~> 7.4'
	pod 'Alamofire'
	pod 'SDCAlertView'
	# pod 'Parse' #  imported manually via  Xcode > File > Add packages... ,
	pod 'GoogleSignIn' #, '6.2.4'
	pod 'DLRadioButton' #, '~> 1.4'
	pod 'JPSVolumeButtonHandler'
	pod 'Toast-Swift'
	pod 'DeviceKit'
end

def pfpodsosx
	pod 'Alamofire' #, '~> 5.4.4'
    # pod 'Parse' # imported manually via  Xcode > File > Add packages...
end

target 'PeakFinder iOS' do
	platform :ios, '13.0'
	pfpodsios
end


target 'PeakFinder OSX' do
	platform :osx, '10.15'
	pfpodsosx
end


post_install do |installer|
 installer.pods_project.targets.each do |target|
  target.build_configurations.each do |config|
   config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
   config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.15'
  end
 end
 
 installer.pods_project.build_configurations.each do |config|
   config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
 end
end

